<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="css/main.css" rel="stylesheet" type="text/css" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<title>校园豆豆网</title>
	</head>

	<body>
		<div align="center">
			<table border="0" cellpadding="0" cellspacing="0" width="910">
				<tbody>
					<tr>
						<td width="100%"></td>
					</tr>
				</tbody>
			</table>
		</div>

		<div id="layout">

			<!-- 页面头部 -->
			<%@ include file="/WEB-INF/common/header/header.jsp"%>

			<div id="product_main">

				<div id="product_btype">
				</div>

				<div id="product_property">
				</div>

				<s:iterator value="productList">
					<div id="product_show">
						<div id="product_smallphoto" align="center">
							<a href="product!simpleProduct.do?id=<s:property value="id"/>"><img
									src="<s:property value="photo1"/>" /> </a>
						</div>

						<div id="product_info">
							<ul>
								<li>
									<center>
										<a href="product!simpleProduct.do?id=<s:property value="id"/>"><s:property
												value="name" /> </a>
									</center>
								</li>
								<li>
									评价：
									<s:property value="productRate" />
									&nbsp;&nbsp;总销量：
									<s:property value="sale" />
								</li>
							</ul>
						</div>

					</div>
				</s:iterator>


				<div id="product_pagination">
					第一页&nbsp;下一页
				</div>

			</div>
			<!--  main end  -->
			
			<!-- footer尾部 -->
			<%@ include file="/WEB-INF/common/footer/footer.jsp" %>
		</div>
	</body>

</html>